home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Interplay's Learn to Program Basic (Review Copy)
/
Learn to Program Basic Review Copy (Interplay)(June 23, 1998).ISO
/
pc
/
ltpbasic
/
refxmpl
/
subroutn.bas
< prev
next >
Wrap
BASIC Source File
|
1998-04-07
|
336b
|
25 lines
CLS
x = 100
y = 100
Gosub DrawHappyFace
x = 250
y = 180
Gosub DrawHappyFace
End
DrawHappyFace:
Rem Draw Head
Color 126 ' Old Yeller
FillCircle x,y,50
Rem Draw Mouth
Color 21 ' Black #6
Circle x,y+10,30
Color 126 ' Old Yeller
FillCircle x,y+8,30
Rem Draw Eyes
Color 21 ' Black #6
FillCircle x-20,y-20,10
FillCircle x+20,y-20,10
return